﻿using MediatR;
using Process.DAL;

namespace Process.Api.Application.Command.BOM
{
    public class AddGoodsinfoCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 物品编号
        /// </summary>
        public string GoodsCode { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string GoodsModel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 物品类型
        /// </summary>
        public string GoodsType { get; set; }
        /// <summary>
        /// 最小库存
        /// </summary>
        public decimal MinStock { get; set; }
        /// <summary>
        /// 最大库存
        /// </summary>
        public decimal MaxStock { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public decimal Stock { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        ///状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
